﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020011B5 RID: 4533
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SkillUseProperty : IMessage<SkillUseProperty>, IMessage, IEquatable<SkillUseProperty>, IDeepCloneable<SkillUseProperty>, IBufferMessage
	{
		// Token: 0x17003958 RID: 14680
		// (get) Token: 0x0600CAE3 RID: 51939 RVA: 0x00222AEC File Offset: 0x00220CEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SkillUseProperty> Parser
		{
			get
			{
				return SkillUseProperty._parser;
			}
		}

		// Token: 0x17003959 RID: 14681
		// (get) Token: 0x0600CAE4 RID: 51940 RVA: 0x00222AF3 File Offset: 0x00220CF3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SkillUsePropertyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700395A RID: 14682
		// (get) Token: 0x0600CAE5 RID: 51941 RVA: 0x00222B05 File Offset: 0x00220D05
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SkillUseProperty.Descriptor;
			}
		}

		// Token: 0x0600CAE6 RID: 51942 RVA: 0x00222B0C File Offset: 0x00220D0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SkillUseProperty()
		{
		}

		// Token: 0x0600CAE7 RID: 51943 RVA: 0x00222B20 File Offset: 0x00220D20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SkillUseProperty(SkillUseProperty other) : this()
		{
			this.skillId_ = other.skillId_;
			this.skillType_ = other.skillType_;
			this.skillLevel_ = other.skillLevel_;
			this.skillUseCount_ = other.skillUseCount_;
			this.aCCBPEFDPEE_ = other.aCCBPEFDPEE_;
			this.mCAOMCMJGKH_ = other.mCAOMCMJGKH_;
			this.lCHLFLCPGPL_ = other.lCHLFLCPGPL_;
			this.gIEFONPPGGN_ = other.gIEFONPPGGN_;
			this.hELICMLLEHC_ = other.hELICMLLEHC_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600CAE8 RID: 51944 RVA: 0x00222BB0 File Offset: 0x00220DB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SkillUseProperty Clone()
		{
			return new SkillUseProperty(this);
		}

		// Token: 0x1700395B RID: 14683
		// (get) Token: 0x0600CAE9 RID: 51945 RVA: 0x00222BB8 File Offset: 0x00220DB8
		// (set) Token: 0x0600CAEA RID: 51946 RVA: 0x00222BC0 File Offset: 0x00220DC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint SkillId
		{
			get
			{
				return this.skillId_;
			}
			set
			{
				this.skillId_ = value;
			}
		}

		// Token: 0x1700395C RID: 14684
		// (get) Token: 0x0600CAEB RID: 51947 RVA: 0x00222BC9 File Offset: 0x00220DC9
		// (set) Token: 0x0600CAEC RID: 51948 RVA: 0x00222BD1 File Offset: 0x00220DD1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public string SkillType
		{
			get
			{
				return this.skillType_;
			}
			set
			{
				this.skillType_ = ProtoPreconditions.CheckNotNull<string>(value, "value");
			}
		}

		// Token: 0x1700395D RID: 14685
		// (get) Token: 0x0600CAED RID: 51949 RVA: 0x00222BE4 File Offset: 0x00220DE4
		// (set) Token: 0x0600CAEE RID: 51950 RVA: 0x00222BEC File Offset: 0x00220DEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint SkillLevel
		{
			get
			{
				return this.skillLevel_;
			}
			set
			{
				this.skillLevel_ = value;
			}
		}

		// Token: 0x1700395E RID: 14686
		// (get) Token: 0x0600CAEF RID: 51951 RVA: 0x00222BF5 File Offset: 0x00220DF5
		// (set) Token: 0x0600CAF0 RID: 51952 RVA: 0x00222BFD File Offset: 0x00220DFD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint SkillUseCount
		{
			get
			{
				return this.skillUseCount_;
			}
			set
			{
				this.skillUseCount_ = value;
			}
		}

		// Token: 0x1700395F RID: 14687
		// (get) Token: 0x0600CAF1 RID: 51953 RVA: 0x00222C06 File Offset: 0x00220E06
		// (set) Token: 0x0600CAF2 RID: 51954 RVA: 0x00222C0E File Offset: 0x00220E0E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ACCBPEFDPEE
		{
			get
			{
				return this.aCCBPEFDPEE_;
			}
			set
			{
				this.aCCBPEFDPEE_ = value;
			}
		}

		// Token: 0x17003960 RID: 14688
		// (get) Token: 0x0600CAF3 RID: 51955 RVA: 0x00222C17 File Offset: 0x00220E17
		// (set) Token: 0x0600CAF4 RID: 51956 RVA: 0x00222C1F File Offset: 0x00220E1F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MCAOMCMJGKH
		{
			get
			{
				return this.mCAOMCMJGKH_;
			}
			set
			{
				this.mCAOMCMJGKH_ = value;
			}
		}

		// Token: 0x17003961 RID: 14689
		// (get) Token: 0x0600CAF5 RID: 51957 RVA: 0x00222C28 File Offset: 0x00220E28
		// (set) Token: 0x0600CAF6 RID: 51958 RVA: 0x00222C30 File Offset: 0x00220E30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LCHLFLCPGPL
		{
			get
			{
				return this.lCHLFLCPGPL_;
			}
			set
			{
				this.lCHLFLCPGPL_ = value;
			}
		}

		// Token: 0x17003962 RID: 14690
		// (get) Token: 0x0600CAF7 RID: 51959 RVA: 0x00222C39 File Offset: 0x00220E39
		// (set) Token: 0x0600CAF8 RID: 51960 RVA: 0x00222C41 File Offset: 0x00220E41
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GIEFONPPGGN
		{
			get
			{
				return this.gIEFONPPGGN_;
			}
			set
			{
				this.gIEFONPPGGN_ = value;
			}
		}

		// Token: 0x17003963 RID: 14691
		// (get) Token: 0x0600CAF9 RID: 51961 RVA: 0x00222C4A File Offset: 0x00220E4A
		// (set) Token: 0x0600CAFA RID: 51962 RVA: 0x00222C52 File Offset: 0x00220E52
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint HELICMLLEHC
		{
			get
			{
				return this.hELICMLLEHC_;
			}
			set
			{
				this.hELICMLLEHC_ = value;
			}
		}

		// Token: 0x0600CAFB RID: 51963 RVA: 0x00222C5B File Offset: 0x00220E5B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SkillUseProperty);
		}

		// Token: 0x0600CAFC RID: 51964 RVA: 0x00222C6C File Offset: 0x00220E6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SkillUseProperty other)
		{
			return other != null && (other == this || (this.SkillId == other.SkillId && !(this.SkillType != other.SkillType) && this.SkillLevel == other.SkillLevel && this.SkillUseCount == other.SkillUseCount && this.ACCBPEFDPEE == other.ACCBPEFDPEE && this.MCAOMCMJGKH == other.MCAOMCMJGKH && this.LCHLFLCPGPL == other.LCHLFLCPGPL && this.GIEFONPPGGN == other.GIEFONPPGGN && this.HELICMLLEHC == other.HELICMLLEHC && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600CAFD RID: 51965 RVA: 0x00222D2C File Offset: 0x00220F2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.SkillId != 0U)
			{
				num ^= this.SkillId.GetHashCode();
			}
			if (this.SkillType.Length != 0)
			{
				num ^= this.SkillType.GetHashCode();
			}
			if (this.SkillLevel != 0U)
			{
				num ^= this.SkillLevel.GetHashCode();
			}
			if (this.SkillUseCount != 0U)
			{
				num ^= this.SkillUseCount.GetHashCode();
			}
			if (this.ACCBPEFDPEE != 0U)
			{
				num ^= this.ACCBPEFDPEE.GetHashCode();
			}
			if (this.MCAOMCMJGKH != 0U)
			{
				num ^= this.MCAOMCMJGKH.GetHashCode();
			}
			if (this.LCHLFLCPGPL != 0U)
			{
				num ^= this.LCHLFLCPGPL.GetHashCode();
			}
			if (this.GIEFONPPGGN != 0U)
			{
				num ^= this.GIEFONPPGGN.GetHashCode();
			}
			if (this.HELICMLLEHC != 0U)
			{
				num ^= this.HELICMLLEHC.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600CAFE RID: 51966 RVA: 0x00222E35 File Offset: 0x00221035
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600CAFF RID: 51967 RVA: 0x00222E3D File Offset: 0x0022103D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600CB00 RID: 51968 RVA: 0x00222E48 File Offset: 0x00221048
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.SkillId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.SkillId);
			}
			if (this.SkillType.Length != 0)
			{
				output.WriteRawTag(18);
				output.WriteString(this.SkillType);
			}
			if (this.SkillLevel != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.SkillLevel);
			}
			if (this.SkillUseCount != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.SkillUseCount);
			}
			if (this.ACCBPEFDPEE != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.ACCBPEFDPEE);
			}
			if (this.MCAOMCMJGKH != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.MCAOMCMJGKH);
			}
			if (this.LCHLFLCPGPL != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.LCHLFLCPGPL);
			}
			if (this.GIEFONPPGGN != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.GIEFONPPGGN);
			}
			if (this.HELICMLLEHC != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.HELICMLLEHC);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600CB01 RID: 51969 RVA: 0x00222F6C File Offset: 0x0022116C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.SkillId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.SkillId);
			}
			if (this.SkillType.Length != 0)
			{
				num += 1 + CodedOutputStream.ComputeStringSize(this.SkillType);
			}
			if (this.SkillLevel != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.SkillLevel);
			}
			if (this.SkillUseCount != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.SkillUseCount);
			}
			if (this.ACCBPEFDPEE != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ACCBPEFDPEE);
			}
			if (this.MCAOMCMJGKH != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MCAOMCMJGKH);
			}
			if (this.LCHLFLCPGPL != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LCHLFLCPGPL);
			}
			if (this.GIEFONPPGGN != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GIEFONPPGGN);
			}
			if (this.HELICMLLEHC != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.HELICMLLEHC);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600CB02 RID: 51970 RVA: 0x00223070 File Offset: 0x00221270
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SkillUseProperty other)
		{
			if (other == null)
			{
				return;
			}
			if (other.SkillId != 0U)
			{
				this.SkillId = other.SkillId;
			}
			if (other.SkillType.Length != 0)
			{
				this.SkillType = other.SkillType;
			}
			if (other.SkillLevel != 0U)
			{
				this.SkillLevel = other.SkillLevel;
			}
			if (other.SkillUseCount != 0U)
			{
				this.SkillUseCount = other.SkillUseCount;
			}
			if (other.ACCBPEFDPEE != 0U)
			{
				this.ACCBPEFDPEE = other.ACCBPEFDPEE;
			}
			if (other.MCAOMCMJGKH != 0U)
			{
				this.MCAOMCMJGKH = other.MCAOMCMJGKH;
			}
			if (other.LCHLFLCPGPL != 0U)
			{
				this.LCHLFLCPGPL = other.LCHLFLCPGPL;
			}
			if (other.GIEFONPPGGN != 0U)
			{
				this.GIEFONPPGGN = other.GIEFONPPGGN;
			}
			if (other.HELICMLLEHC != 0U)
			{
				this.HELICMLLEHC = other.HELICMLLEHC;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600CB03 RID: 51971 RVA: 0x00223151 File Offset: 0x00221351
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600CB04 RID: 51972 RVA: 0x0022315C File Offset: 0x0022135C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 32U)
				{
					if (num <= 18U)
					{
						if (num == 8U)
						{
							this.SkillId = input.ReadUInt32();
							continue;
						}
						if (num == 18U)
						{
							this.SkillType = input.ReadString();
							continue;
						}
					}
					else
					{
						if (num == 24U)
						{
							this.SkillLevel = input.ReadUInt32();
							continue;
						}
						if (num == 32U)
						{
							this.SkillUseCount = input.ReadUInt32();
							continue;
						}
					}
				}
				else if (num <= 48U)
				{
					if (num == 40U)
					{
						this.ACCBPEFDPEE = input.ReadUInt32();
						continue;
					}
					if (num == 48U)
					{
						this.MCAOMCMJGKH = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 56U)
					{
						this.LCHLFLCPGPL = input.ReadUInt32();
						continue;
					}
					if (num == 64U)
					{
						this.GIEFONPPGGN = input.ReadUInt32();
						continue;
					}
					if (num == 72U)
					{
						this.HELICMLLEHC = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400516B RID: 20843
		private static readonly MessageParser<SkillUseProperty> _parser = new MessageParser<SkillUseProperty>(() => new SkillUseProperty());

		// Token: 0x0400516C RID: 20844
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400516D RID: 20845
		public const int SkillIdFieldNumber = 1;

		// Token: 0x0400516E RID: 20846
		private uint skillId_;

		// Token: 0x0400516F RID: 20847
		public const int SkillTypeFieldNumber = 2;

		// Token: 0x04005170 RID: 20848
		private string skillType_ = "";

		// Token: 0x04005171 RID: 20849
		public const int SkillLevelFieldNumber = 3;

		// Token: 0x04005172 RID: 20850
		private uint skillLevel_;

		// Token: 0x04005173 RID: 20851
		public const int SkillUseCountFieldNumber = 4;

		// Token: 0x04005174 RID: 20852
		private uint skillUseCount_;

		// Token: 0x04005175 RID: 20853
		public const int ACCBPEFDPEEFieldNumber = 5;

		// Token: 0x04005176 RID: 20854
		private uint aCCBPEFDPEE_;

		// Token: 0x04005177 RID: 20855
		public const int MCAOMCMJGKHFieldNumber = 6;

		// Token: 0x04005178 RID: 20856
		private uint mCAOMCMJGKH_;

		// Token: 0x04005179 RID: 20857
		public const int LCHLFLCPGPLFieldNumber = 7;

		// Token: 0x0400517A RID: 20858
		private uint lCHLFLCPGPL_;

		// Token: 0x0400517B RID: 20859
		public const int GIEFONPPGGNFieldNumber = 8;

		// Token: 0x0400517C RID: 20860
		private uint gIEFONPPGGN_;

		// Token: 0x0400517D RID: 20861
		public const int HELICMLLEHCFieldNumber = 9;

		// Token: 0x0400517E RID: 20862
		private uint hELICMLLEHC_;
	}
}
